import { CommonModule } from "@angular/common";
import { NgModule } from "@angular/core";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { MatDialogModule } from "@angular/material/dialog";
import { NzFormModule } from "ng-zorro-antd/form";
import { BuildBlocksComponent } from "./build-blocks/build-blocks.component";
import { DesignFormBuildComponent } from "./design-form-build/design-form-build.component";
import { DesignFormItemComponent } from "./design-form-item/design-form-item.component";
import { NzTabsModule } from 'ng-zorro-antd/tabs';
import { NzCollapseModule } from 'ng-zorro-antd/collapse';
import { NzInputModule } from 'ng-zorro-antd/input';
import { NzInputNumberModule } from 'ng-zorro-antd/input-number';
import { NzIconModule } from 'ng-zorro-antd/icon';
import { NzRadioModule } from 'ng-zorro-antd/radio';
import { NzEmptyModule } from 'ng-zorro-antd/empty';
import { NzButtonModule } from "ng-zorro-antd/button";
import { NzTableModule } from 'ng-zorro-antd/table';
import { DesignFormBatchComponent } from "./design-form-batch/design-form-batch.component";
import { DesignFormBatchModelComponent } from "./design-form-batch-model/design-form-batch-model.component";
import { DesignFormItemCheckboxComponent } from "./design-form-item-checkbox/design-form-item-checkbox.component";
import { NzCheckboxModule } from "ng-zorro-antd/checkbox";
import { NzDividerModule } from "ng-zorro-antd/divider";
import { NzDatePickerModule } from "ng-zorro-antd/date-picker";
import { NzAlertModule } from "ng-zorro-antd/alert";
import { NzRateModule } from "ng-zorro-antd/rate";
import { NzSwitchModule } from "ng-zorro-antd/switch";
import { NzSliderModule } from "ng-zorro-antd/slider";
import { DesignFormDatePickerComponent } from "./design-form-date-picker/design-form-date-picker.component";
import { FileUploadModule } from 'ng2-file-upload';
import { DesignFormUploadCustomComponent } from "./design-form-upload-custom/design-form-upload-custom.component";
import { PreviewFormDesignService } from "./preview-form-design.service";
import { NzSelectModule } from "ng-zorro-antd/select";
import { DesignFormProcessNodeComponent } from "./design-form-process-node/design-form-process-node.component";
import { NzCardModule } from "ng-zorro-antd/card";
import { PipesModule } from "./pipes/pipes.module";
import { NzToolTipModule } from "ng-zorro-antd/tooltip";
import { DesignFormItemRadioComponent } from "./design-form-item-radio/design-form-item-radio.component";
import { FormStylePipe } from "./pipes/formStyle.pipe";
import { DesignMaskInfoComponent } from "./design-mask-info/design-mask-info.component";

@NgModule({
  declarations: [
    BuildBlocksComponent,DesignFormBuildComponent,DesignFormUploadCustomComponent,DesignFormProcessNodeComponent,
    DesignFormItemComponent,DesignFormBatchComponent,DesignFormBatchModelComponent,DesignFormItemCheckboxComponent,DesignFormDatePickerComponent,DesignMaskInfoComponent,
    DesignFormItemRadioComponent,FormStylePipe,
  ],
  imports: [
    ReactiveFormsModule,CommonModule,FormsModule,
    NzFormModule,MatDialogModule,FileUploadModule,
    NzTabsModule,NzCollapseModule,NzInputModule,NzInputNumberModule,NzIconModule,NzRadioModule,
    NzEmptyModule,NzButtonModule,NzTableModule,NzCheckboxModule,NzDividerModule,NzDatePickerModule,
    NzAlertModule,NzRateModule, NzSwitchModule,NzSliderModule,NzSelectModule,NzCardModule,NzToolTipModule,
    PipesModule,
  ],
  exports: [
    BuildBlocksComponent,DesignFormBuildComponent,DesignFormItemComponent,DesignFormItemCheckboxComponent,DesignFormDatePickerComponent
    ,DesignFormUploadCustomComponent,FormStylePipe,DesignMaskInfoComponent,
  ],
  providers: [
    //PreviewFormDesignService
  ]
})
export class PreviewFormDesignModule { }